﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NRemedy;

namespace CMDBImportCIDLL
{
    public class ASTBase : ARRegularForm
    {
        private String _Name;
        private String _Description;
        private String _Category;
        private String _Type;
        private String _Item;
        private String _Company;
        private String _DataSetId;
        private String _AssigneeGroupPermissions;
        private String _Owner_name;

        //[ARField(DatabaseID = 7u, DatabaseName = "AssetLifecycleStatus", DataType = ARType.SelectionField)]
        //public AssetLifecycleStatus_Enum AssetLifecycleStatus { get; set; }

        public enum AssetLifecycleStatus_Enum
        {
            
            Deployed = 3
        }

        [NRemedy.ARFieldAttribute(DatabaseID = 200000003u, DatabaseName = "Category", DataType = ARType.CharacterField)]
        public String Category
        {
            get
            {
                return this._Category;
            }
            set
            {
                this._Category = value;
                this.OnPropertyChanged("Category");
            }
        }
        [NRemedy.ARFieldAttribute(DatabaseID = 200000004u, DatabaseName = "Type", DataType = ARType.CharacterField)]
        public String Type
        {
            get
            {
                return this._Type;
            }
            set
            {
                this._Type = value;
                this.OnPropertyChanged("Type");
            }
        }
        [NRemedy.ARFieldAttribute(DatabaseID = 200000005u, DatabaseName = "Item", DataType = ARType.CharacterField)]
        public String Item
        {
            get
            {
                return this._Item;
            }
            set
            {
                this._Item = value;
                this.OnPropertyChanged("Item");
            }
        }
        [NRemedy.ARFieldAttribute(DatabaseID = 200000020u, DatabaseName = "Name", DataType = ARType.CharacterField)]
        public String Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this._Name = value;
                this.OnPropertyChanged("Name");
            }
        }

        [NRemedy.ARFieldAttribute(DatabaseID = 240000007u, DatabaseName = "Description", DataType = ARType.CharacterField)]
        public String Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this._Description = value;
                this.OnPropertyChanged("Description");
            }
        }
        [NRemedy.ARFieldAttribute(DatabaseID = 1000000001u, DatabaseName = "Company", DataType = ARType.CharacterField)]
        public String Company
        {
            get
            {
                return this._Company;
            }
            set
            {
                this._Company = value;
                this.OnPropertyChanged("Company");
            }
        }        [NRemedy.ARFieldAttribute(DatabaseID = 400127400u, DatabaseName = "Data Set Id", DataType = ARType.CharacterField)]
        public String DataSetId
        {
            get
            {
                return this._DataSetId;
            }
            set
            {
                this._DataSetId = value;
                this.OnPropertyChanged("DataSetId");
            }
        }
        [NRemedy.ARFieldAttribute(DatabaseID = 112u, DatabaseName = "AssigneeGroupPermissions", DataType = ARType.CharacterField)]
        public String AssigneeGroupPermissions
        {
            get
            {
                return this._AssigneeGroupPermissions;
            }
            set
            {
                this._AssigneeGroupPermissions = value;
                this.OnPropertyChanged("AssigneeGroupPermissions");
            }
        }
        [NRemedy.ARFieldAttribute(DatabaseID = 301002900u, DatabaseName = "Owner_name", DataType = ARType.CharacterField)]
        public String Owner_name
        {
            get
            {
                return this._Owner_name;
            }
            set
            {
                this._Owner_name = value;
                this.OnPropertyChanged("Owner_name");
            }
        }
    }
}
